from setuptools import find_packages, setup

setup(
    name="mdtool",
    version="0.1.1",
    description="Upload markdown files to WeChat Official Account",
    long_description=open("README.md", encoding="utf-8").read(),
    long_description_content_type="text/markdown",
    author="Your Name",
    author_email="your.email@example.com",
    url="https://github.com/qiaoliang/markdown-to-wechat",
    license="MIT",
    packages=find_packages(include=["mdtool", "mdtool.*"]),
    python_requires=">=3.12",
    install_requires=[
        "markdown>=3.3.4",
        "werobot>=1.13.1",
        "pyquery>=2.0.0",
        "requests>=2.31.0",
        "beautifulsoup4>=4.12.3",
        "python-dotenv>=1.0.0",
        "pillow>=11.1.0",
        "openai>=1.70.0",
        "click>=8.1.8",
        "loguru>=0.7.3",
        "tomlkit>=0.13.2",
        "pydantic>=2.11.7",
        "pyperclip>=1.9.0",
        "wxPython>=4.2.3",
    ],
    extras_require={
        "dev": [
            "pytest>=8.0.0",
            "black>=24.1.1",
            "pytest-cov>=6.0.0",
            "pytest-mock>=3.12.0",
            "requests-mock>=1.12.1",
            "pytest-xdist>=3.6.1",
            "mypy>=1.8.0",
            "ruff>=0.2.1",
            "pre-commit>=3.6.0",
            "isort>=5.13.2",
        ]
    },
    keywords=["wechat", "markdown", "converter"],
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3.12",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "Operating System :: OS Independent",
        "Topic :: Text Processing :: Markup :: Markdown",
    ],
    entry_points={
        "console_scripts": [
            "mdpost=mdtool.cli:main",
        ]
    },
    include_package_data=True,
    zip_safe=False,
)
